<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" isELIgnored="false"%>

<%
	request.setAttribute("title", "中期检查");
	request.setAttribute("modelConfigPath", "studentManager");
%>

<%@ include file="/WEB-INF/views/shared/master/contentHeader.jsp"%>
<style type="text/css">
</style>
<t:panel cssClass="panel-flat form-detailed" customBody="true" customHead="true">
	<div class="detailed-navbar-content panel-body">
		<t:form commandName="midCheck" action="/admin/postgraduate/midCheck/save" method="post" cssClass="form-horizontal">
			<div class="hide">
				<t:hidden path="id" />
			</div>
			<t:formgroup>
				<t:label path="checkDate" cssClass="col-sm-2" />
				<t:date path="checkDate" colClass="col-sm-4" />
				<t:label path="checkedId" cssClass="col-sm-2" />
				<t:select2 path="checkedId" placeholder="选择学生" allowClear="true" colClass="col-sm-4" />
			</t:formgroup>
			<t:formgroup>
				<t:label path="status" cssClass="col-sm-2" />
				<t:select2 path="status" colClass="col-sm-4" />
				<t:label path="fileAddress" cssClass="col-sm-2" />
				<t:input path="fileAddress" colClass="col-sm-4" />
			</t:formgroup>
			<t:formgroup>
				<t:label path="checkId" cssClass="col-sm-2" />
				<t:select2 path="checkId" placeholder="选择检查人" allowClear="true" colClass="col-sm-4" />
			</t:formgroup>
		</t:form>
	</div>
	<t:panelFoot headingBtnCssClass="heading-btn pull-right-important">
		<t:button icon="icon-floppy-disk" onclick="saveData()" cssClass="btn-info" csize="sm">保存</t:button>
	</t:panelFoot>
</t:panel>
<script type="text/javascript">
	function saveData() {
		if (!$("form:first").valid()) {
			return;
		}
		$("form:first").submit();
	}
</script>

<%@ include file="/WEB-INF/views/shared/scripts/jqueryui.jsp"%>
<%@ include file="/WEB-INF/views/shared/base/scripts/limitless/default/formselects.jsp"%>
<%@ include file="/WEB-INF/views/shared/base/scripts/limitless/default/formstyling.jsp"%>
<%@ include file="/WEB-INF/views/shared/base/scripts/limitless/default/formpickers.jsp"%>
<%@ include file="/WEB-INF/views/shared/master/dialog.jsp"%>
<%@ include file="/WEB-INF/views/shared/master/contentFooter.jsp"%>